import { request } from "@/utils/request";

//搜索用户
export async function searchUsers(params: any) {
  return request("search/users", {
    method: "GET",
    params: params,
  });
}
//搜索仓库
export async function searchRepos(params: any) {
  return request("search/repositories", {
    method: "GET",
    params: params,
  });
}
